package com.gxa.utils;

import java.util.Calendar;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @author bq
 * Date: 2020/10/30 9:18
 * Description:
 * Version: V1.0
 */
public class AutoCreateOrderIdUtils {
    /**
     * 创建订单号
     * @return
     */
    public static String createOrder_no(String e){
        Calendar calendar=Calendar.getInstance();
        calendar.setTime(new Date());
        String orderId = "o"+e + System.currentTimeMillis();
        return orderId;
    }
}
